package com.uinnova.product.eam.service.es;

import com.uinnova.project.base.diagram.comm.diagram.DiagramShareRecord;
import com.uinnova.project.base.diagram.comm.diagram.ShareRecordQuery;
import com.uino.dao.AbstractESBaseDao;
import org.springframework.stereotype.Repository;

import javax.annotation.PostConstruct;

/**
 * 文档管理数据访问层
 *
 * @author lichong
 */
@Deprecated
@Repository
public class IamsESShareDiagramDao extends AbstractESBaseDao<DiagramShareRecord, ShareRecordQuery> {
    @Override
    public String getIndex() {
        return "uino_eam_share_diagram";
    }

    @Override
    public String getType() {
        return "_doc";
    }

    @PostConstruct
    public void init() {
        super.initIndex();
    }
}
